<template>
    <div class="showmessage">
        <div class="navbox">
            <div class="left">
                <slot name="left">left</slot>
            </div>
            <div class="center">
                <slot name="center">center</slot>
            </div>
            <div class="right">
                <slot name="right">right</slot>
            </div>
        </div>
    </div>
</template>
<script>

export default {

}
</script>
<style scoped lang="less">
* {
    padding: 0;
    margin: 0;
}

.showmessage {
    width: 400px;
    height: 200px;
    background: #f1e9df;

    .navbox {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        .left {
            flex: 1;
            background-color: #f4c2e3;
        }

        .center {
            flex: 2;
            background-color: #74a6a8;
            text-align: center;
        }

        .right {
            flex: 1;
            background-color: #7db6f7;
        }
    }
}
</style>
